<?xml version="1.0" encoding="UTF-8"?><d:tdl xmlns="http://www.w3.org/1999/xhtml" xmlns:b="http://www.backbase.com/2006/btl" xmlns:bb="http://www.backbase.com/2006/client"  xmlns:d="http://www.backbase.com/2006/tdl" >

	<d:namespace name="http://www.backbase.com/2006/btl">

		<d:uses interface="iDataCommunicator" src="dataBinding.xml"/>

		<d:behavior name="staticData" implements="b:iDataCommunicator">
			

			<d:attribute name="dataType" default="application/xml">
				
				<d:mapper type="text/javascript"><![CDATA[
					btl.dataBinding.setType(this, value);
				]]></d:mapper>
			</d:attribute>

			<d:attribute name="dataSelect">
				
			</d:attribute>

			<d:property name="dataRoot">
				
				<d:getter type="text/javascript"><![CDATA[
					if (this.hasAttribute('dataSelect')) {
						var sDataSelect = this.getAttribute('dataSelect');
						var oData = bb.evaluateSmart(sDataSelect, this.modelNode, this.modelNode);
					} else {
						var sDataSelect = 'b:dataContainer/*';
						var oData = bb.evaluateSmart(sDataSelect, this.modelNode, function(sPrefix) { return sPrefix == 'b' ? btl.namespaceURI : null });
					}
					if (!oData) {
						var sError = 'Data root not found (result of "' + sDataSelect +'" )';
						btl.dataBinding.fireErrorEvent(this, 0, sError);
						bb.command.trace(this, sError);
						return null;
					}
					return oData;
				]]></d:getter>
			</d:property>

			<d:method name="sendRequest">
				
				<d:argument name="action"/>
				<d:argument name="observer"/>
				<d:body type="text/javascript"><![CDATA[
					var oData = this.getProperty('dataRoot');
					if (oData)
						this.acceptRawData(oData, observer);
					btl.dataSource.requestQueueContinue(this);
				]]></d:body>
			</d:method>
		</d:behavior>
	</d:namespace>
</d:tdl>